<?php

namespace App\Api\Three;

use App\Api\ChannelApi;
use Monolog\Logger;
use Monolog\Formatter\LineFormatter;
use Monolog\Handler\RotatingFileHandler;

class ABCDEF extends ChannelApi
{
    public function __construct()
    {
    }
    // 下单接口
    public  function orderSubmit($data)
    {
        return $this->returnMsg(200, '下单成功', ['order_id' => 'haoka2023010112395314801-2']);
        return $this->returnMsg(100, '下单失败', ['msg' => '失败订单原因']);
        return [1, 2];
    }
    public function checkOrder($data)
    {
        return $this->returnMsg(200, '效验成功');
        return $this->returnMsg(100, '效验成功', ['msg' => '效验失败']);
    }
}
